package com.moto.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.moto.repository.PostsCommentRepository;
import com.moto.service.PostsCommentService;

@Service("postsCommentService")
public class PostsCommentServiceImpl implements PostsCommentService {

	@Autowired
	private PostsCommentRepository postsCommentRepository;

	@Override
	public int deleteByPostsId(String postsId) {
		return postsCommentRepository.deleteByPostsId(postsId);
	}
}
